This topic is locked

extra zero in percentage fields

1/3/2008 3:27:27 PM
PHPRunner General questions
D
Daktarie author

search in the forum was not resulting in solving my problem
i workt it out for normal digits

but percentage fields keep on displaying 2 extra zero's
example 10% gets displayed as 1000%

for the plaine 0% field it works with no extra zero
confused how it works and how to solve it

S
swanside 1/3/2008

I came across this aswell, ended up just putting the % after the description and leaving the value as a number.

Alexey admin 1/4/2008

Hi,
this behaviour is by design.

If you just need to add a percent sign to the values in database use Custom view type with this expression:

$value=$value."%";



Or just add a percent sign in Visual Editor.