Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6709 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

What is the best way to remove a decimal...such as 8.5 return "85" or 17.75 returns "1775."

I started using "Left" and "Right" and "Patterncount" and such, but do not have the best knack for this stuff. So if anyone has a few minutes.... much appreciated.

Mike

Posted

You might want to include a minus in the filter options if you have any negative numbers. It also feels weird applying text calculation to a number to turn it from a true number into a text string which changes the meaning of the number. :wink2:

But I'd probably do it this way: Substitute ( numField ; "." ; "" )

... which still bothers me because it changes the MEANING of that number. But oh well ... I can be overly fussy and anal at times. :crazy2:

Posted

It also feels weird applying text calculation to a number to turn it from a true number into a text string which changes the meaning of the number.

Yeah, I had a similar feeling. I got over it by thinking that it is not really being considered as a number in the first place, but text all the way -kind of like: Cat.Dog to CatDog.

What is it for, Mike?

Posted

HI..

It is for coding.... as a printer a page size might be 8.5 x 11...

the code should be 8511 and then a series of codes to define paper. Essentially for inventory and work orders.

I could see how you might wonder why I would want to strip a decimal out of a number.

Mike

This topic is 6709 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.