Soracom Product Updates logo

Product Updates

Soracom is IoT connectivity with powerful APIs that enable you to build world class applications

Subscribe to Updates
  • Japanese 日本語

Labels

  • All Posts
  • Feature
  • Improvements
  • Devices
  • Announcement
  • Beta
  • Deprecation
  • End of Support

Jump to Month

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
Improvements
a year ago

SORACOM Funnel no longer converts decimal to integer data transfer

When using SORACOM Funnel to send data from a device to a cloud service, Funnel will now preserve decimal value notation when the fractional part of a decimal value contains all 0s.

For example, when a device sends data {"temperature": 20.0}, Funnel previously converted the value to an integer and sent the data as {"temperature": 20}. Now, Funnel will send the data as {"temperature": 20.0} without converting the value to an integer.

Note that if the value contains more than one trailing 0 in the fractional part of the decimal, only the first 0 will be preserved. For example, if a device sends data {"temperature": 20.00}, Funnel will send the data as {"temperature": 20.0} to the cloud service.

Please be aware that if your cloud service is configured to check the presence or absence of a decimal point . in order to determine the data type (decimal or integer), this change will affect the behavior of the cloud service.