IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

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: 50
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 Offline
OL Expert

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

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

Registered: 01/29/14
Posts: 400
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 Offline
OL Expert

Registered: 01/29/14
Posts: 400
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