haaska icon indicating copy to clipboard operation
haaska copied to clipboard

GetTemperatureReadingRequest in metric units announces repeating decimal digits

Open keatontaylor opened this issue 7 years ago • 2 comments

When units are set to metric in the alexa config and a temperature in celsius has a repeating decimal Alexa will announce the repeating decimal up to 10 decimal places. The response should be rounded.

What I also find odd is that rounding is done automatically for temperature responses in fahrenheit, but for fahrenheit it is rounded to an integer value. (Alexa seems to be doing this on its own, not haaska)

keatontaylor avatar Jun 01 '17 11:06 keatontaylor

I've also posted here: https://forums.developer.amazon.com/questions/73543/gettemperaturereadingrequest-rounding-issues-and-i.html

The way that temperature is handled seems to be inconsistent, so hopefully amazon will fix it.

keatontaylor avatar Jun 01 '17 13:06 keatontaylor

We obviously have no control over the formatting of the spoken messages. It is possible to implement a workaround by forcing some rounding for temperature values, though that would reduce precision in a way that is particularly noticeable for unit conversions.

trisk avatar Jun 01 '17 21:06 trisk