Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exponential formatted values #35

Open
amallison opened this issue Dec 2, 2015 · 0 comments
Open

Exponential formatted values #35

amallison opened this issue Dec 2, 2015 · 0 comments

Comments

@amallison
Copy link

jsonO returned the following:

jsonO (
jsonOp ( "chip_number" ; "3.56E+14")
)
//{ "chip_number":3.56E+14 }

A user imported microchip numbers in from Excel to a text field. Some of the values Excel reformatted as exponential format. These ended up in the FMGo file.

jsonO assumed this was a number and doesn't add the quotes. The PostGreSQL server was expecting a varchar(45) but rejected this because of the E+ not being within quotations.

Are you able to catch for this or can you add another parameter for jsonO to force the output type. Which might also save time when testing if 'req is too long to be a number'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant