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!

truncate and tonumber togheter

Status
Not open for further replies.

DanHD

Technical User
Dec 1, 2008
98
NL
hi

i've a text field that i convert with the formula 'ToNumber ({MPTmpRptPrintPositionen.Menge})' now i try the truncate formula 'truncate(ToNumber {MPTmpRptPrintPositionen.Menge}))' but without any results, the field value is still 1,00.

I've tried als to round the price with the formula '
Round ({MPTmpRptPrintBelegKopf.Bruttobetrag})', here also the price still gives the value 124,00.

What can be the reason of this?

Dan
 
The formulas are returning the correct values--you just need to format the number for display purposes. Right click on the formula->format field->number and select -1123 as the format.

-LB
 
thanks
how simple it can be ;-)

kind regards
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top