Last Updated: 06 Dec 2022 08:38 by Igor Mendizabal
Igor Mendizabal
Created on: 06 Dec 2022 08:38
Category: Kendo UI for jQuery
Type: Bug Report
loosing precision with kendo.toString and small decimals

Bug report

When a decimal number has 8 digits after the decimal separator and '#' is used for formatting the precision is lost and the number is rounded.

Reproduction of the problem

  1. Open the Dojo example and check the result in the console

Current behavior

kendo.toString(0.00000015,"###.########" returns 0.0000002

Expected/desired behavior

The number should not be rounded and the precision should not be lost. The results should be the same with kendo.toString(0.00000015,"n8") and kendo.toString(0.00000015,"0.00000000")


  • Kendo UI version: 2022.3.1109
  • Browser: [all ]