Page 2 of 2 < 1 2
Topic Options
#57030 - 05/14/19 11:43 AM Re: multiplication and divistion [Re: Sami786]
jouberto Offline
OL Toddler

Registered: 04/18/18
Posts: 32
Hi Sami,

Just specify the amount of decimals required as an additional parameter for your strtofloat(stringtoconvert,2). the (***,2) indicates you want 2 decimals.

This is all documented within the online help, you might want to bookmark the presstalk reference guide if you need to work your way through expressions.

hope this helps. Thanks.
Regards,

Top
#57032 - 05/14/19 01:35 PM Re: multiplication and divistion [Re: Sami786]
Sami786 Online   content
OL Expert

Registered: 01/29/14
Posts: 320
Loc: Home
THANK YOU
_________________________
Peace

Top
#57034 - 05/14/19 04:04 PM Re: multiplication and divistion [Re: Sami786]
Sami786 Online   content
OL Expert

Registered: 01/29/14
Posts: 320
Loc: Home
fixed thank you all for you help
_________________________
Peace

Top
#57035 - 05/14/19 06:00 PM Re: multiplication and divistion [Re: Sami786]
Sami786 Online   content
OL Expert

Registered: 01/29/14
Posts: 320
Loc: Home
this helped thank you for all your helps. I'm good now.

&TotalBenefit := floattostr(&TotalValue,2)
_________________________
Peace

Top
Page 2 of 2 < 1 2