Skip to main content
Question

Issue with Real64 or Real32 reformatting when writing to file a geodatabase.

  • March 17, 2020
  • 2 replies
  • 51 views

I'm reading an HTML table from a website and its bringing in both Real64 and Real32 numbers which I'm writing to a Geodatabase table. No matter if I specify column types of Float, Double, or Integer I get unwanted results where the number has a comma separator in the thousandth position (From table) - the resulting number adds a period in the output. Some of the numbers are dropping a zero when the number ends with zero: 8450 becomes 845. Has anyone experienced this before?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • March 17, 2020

Hi @gary, how about removing commas from the number? You can use the StringReplacer to remove all commas from a string with this setting.

  • Mode: Replace Text
  • Text to Replace: ,
  • Replacement Text: <not set>

 

 


  • Author
  • March 18, 2020

@takashi Thank you, that did the trick. I had looked at the StringReplacer before but for some reason had got different results.