-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-duplicateClosed in favor of an existing reportClosed in favor of an existing report
Description
This issue was originally filed by [email protected]
I am using Dart Editor Version 0.1.0.201208061534, Build 10315 with Dart SDK version 10311
If I use num.toString(), the output varies based on whether I am running my Dart program native (in Dartium) vs. running in FF/Chrome using the generated JS output by the Dart Editor. This variation in results only shows up for num values that have ZERO after the decimal (e.g., 10.0 - i.e., whole numbers). The JS code will truncate the ".0" in its output whereas the native Dartium output shows "10.0" as expected.
See attached test files. This seems like it will be an easy problem to resolve. thanks.
Attachments:
Dart-Num-Format-Differences-vs-JS.html (990 Bytes)
Num-Format-Test.dart (179 Bytes)
Metadata
Metadata
Assignees
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-duplicateClosed in favor of an existing reportClosed in favor of an existing report