Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Math Calculation...

Featured Replies

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

Hi Mike,

try:

filter(numberield; "0123456789")

  • Author

:) )

I knew there was a better way!

Thanks!

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:

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?

  • Author

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.