Output from Totext of a large number (>10^17) causes Tonumber to error with "String is non-numeric".
The following made up sample illustrates the error:
tonumber(totext(1.*10^17))
This error happens because totext returns scientific notation for large numbers and tonumber doesn't know how do deal with scientific notation.
I tried supplying a large format string like
totext(big_number,"#####################" but it still returns scientific notation.
Is there anyway to force totext NOT to return scientific notation?
Along the same lines, if your formula returns a large number, your report field is displayed in scientific notation. For example the formula:
10000000000000000. produces 10,000,000,000,000,000
but
100000000000000000. produces 1e+017
in the report field.
Is there anyway to control this format such that scientific notation is produced for smaller numbers or not produced for large numbers?
Thanks
The following made up sample illustrates the error:
tonumber(totext(1.*10^17))
This error happens because totext returns scientific notation for large numbers and tonumber doesn't know how do deal with scientific notation.
I tried supplying a large format string like
totext(big_number,"#####################" but it still returns scientific notation.
Is there anyway to force totext NOT to return scientific notation?
Along the same lines, if your formula returns a large number, your report field is displayed in scientific notation. For example the formula:
10000000000000000. produces 10,000,000,000,000,000
but
100000000000000000. produces 1e+017
in the report field.
Is there anyway to control this format such that scientific notation is produced for smaller numbers or not produced for large numbers?
Thanks