pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Luidog/fms-api-client/pull/131

48.css" /> convert long numbers to strings in response by jwillinghalpern · Pull Request #131 · Luidog/fms-api-client · GitHub
Skip to content

convert long numbers to strings in response#131

Open
jwillinghalpern wants to merge 3 commits intomasterfrom
feature-longnumbers
Open

convert long numbers to strings in response#131
jwillinghalpern wants to merge 3 commits intomasterfrom
feature-longnumbers

Conversation

@jwillinghalpern
Copy link
Collaborator

adds a new convertLongNumbersToStrings option to Filemaker.create(). Setting this to true converts long numbers such as those produced by FileMaker's Get(uuidNumber) and Random functions into strings rather than returning scientific notation with reduced precision.

This is the issue which prompted this feature: Luidog/node-red-contrib-filemaker#61. I haven't checked if fixing fms-api-client alone addresses the issue fully because I haven't tried this change with node red.

This part of the changed code felt a bit repetitive, not of a better way offhand though:

parseScriptResult(body, this.agent.convertLongNumbersToStrings)

@coveralls
Copy link

coveralls commented Feb 4, 2022

Coverage Status

Coverage increased (+0.006%) to 99.446% when pulling 9fbb585 on feature-longnumbers into 753bbda on master.

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

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy