Acknowledged
CIQQA-3781

[bug] Steps complication value varies in format

For the Complications.complication object type 2 steps, it's Number value changes from steps to a Float value with thousands of steps after reaching 1000 steps.

  • not enough, it should probably also say that if it's Float, then the actual number of steps is 1000 times the value.

  • The bug is in the documentation.  It should note it could be a float or a number is returned

  • It says 12.345000 in your sample. The documentation is pretty clear. So if it is not a Number the documentation is in error, otherwise the api is.

    I know this is not a recent error, but it still is in error. I already worked around it, users can select all complication fields to screen where they get a preview of how it will be displayed, there I noticed this is still an issue. 

  • This was first seen when Complications were added to CIQ.  You'll find it discussed in the forum.  It has to do with how steps are displayed in native watch faces, where instead of showing "12345", something like "12.3" can be easily shown, taking less screen space,

    The way I deal with this is that I use the actual count from ActivityMonitor for display, but have onPress still launcg the glance.

    Overall, the doc for what's seen with complications may be a bit vague, so when I started with complications, I wrote a simple test app that allowed me st select any complication to see what's actually returned on a real device, and in the case of steps vs pushes, when which is available.

  • maybe they think you'll do more steps than can be represented in Number :)