Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format numbers in a formula

Status
Not open for further replies.

yme

Programmer
Aug 29, 2000
12
US
I'm trying to use a formula to concatenate number fields into a string field, but it always gives me numbers with two decimal places. I want it to look something simalar to "1000-3", where 1000 is the first number and 3 is the second, instead of "1,000.00-3.00". How would I do this. Thanks for your input.
 
Try using the totext function.

ToText(123.45)
Returns "123.45".



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top