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

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

Recommended Posts

Posted

Hello:

I need to create a calculation field that takes "Field 1" adds leading 0's based adding up to 8 digits.

Must be 8 digits

Adds leading 0's

assumes two decimal points (last two digits are two decimal points)

Filed 1 Caclulation Field

1 = 00000100

1.2 = 00000120

12 = 00001200

120 = 00012000

120.50 = 00012050

Thanks for any help, I'm stumped.

JW

Posted

Right( "00000000" & (Field1 * 100) ; 8 )

Make sure to specify the result as text. Number fields ignore leading zeros.

  • Like 1

This topic is 4806 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.