function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jbjbjbjb 

Flawed Casting of Objects in Flex Toolkit?

I'm using the released Flex toolkit. When I query an object that is defined in Salefsorce as a text string, and if that string contains the letter "e" - for example "123e4567890" - then the Flex toolkit casts that string to a number since it apparently thinks that "e" is scientific notation. Often that improperly cast number is too large and becomes "Infinity."

 

Is there a way to force the interpration of a string with an "e" as a Flex String and not let it get improperly cast to a number?