This topic is locked

Decimal Separator

1/14/2013 8:58:54 PM
PHPRunner General questions
O
onlline author

to enter the value
examples

R$ 0,1

R$ 0,10

R$ 1,00

R$ 10,00

R$ 100,00

R$ 1.000,00

R$ 10.000,00

R$ 100.000,00

R$ 1000.000,00
thanks in advance

C
cgphp 1/15/2013

Check the number_format function for PHP http://php.net/manual/en/function.number-format.php. Javascript doesn't have a built-in function instead. In this case you can create a custom method http://stackoverflow.com/questions/149055/how-can-i-format-numbers-as-money-in-javascript.

C
cgphp 1/15/2013

Check also the mask feature to enter the data in certain format: http://xlinesoft.com/phprunner/docs/edit_as_settings_text_field.htm

O
onlline author 1/15/2013



Check also the mask feature to enter the data in certain format: http://xlinesoft.com/phprunner/docs/edit_as_settings_text_field.htm


Hi Cristian!
see the http://plentz.org/maskmoney/ demo 4
I followed the article's forum and did not work
http://www.asprunner.com/forums/topic/16037-veja-como-adicionar-mascara-no-campo-com-phprunner-53/
Thanks in Advanced

Admin 1/15/2013

Leonardo,
you need to use a built-in input mask feature:

http://xlinesoft.com/phprunner/docs/edit_as_settings_text_field.htm

O
onlline author 1/16/2013



Leonardo,
you need to use a built-in input mask feature:

http://xlinesoft.com/phprunner/docs/edit_as_settings_text_field.htm


Hi!
I used Javascript onloadEvent
 $ (function () {

    $ ("# value_valor_estimado_1"). maskMoney ({symbol "R $" decimal "," Thousands "."});

});
most have 2 problems
1 shows the following error


2 account on the fly does not work
published in a demo account
http://demo.asprunner.net/leonardo_onlline_com_br/teste/table1_add.php
Thanks in advanced

Admin 1/16/2013

Leonardo,
you need to use a built-in input mask feature:

http://xlinesoft.com/phprunner/docs/edit_as_settings_text_field.htm

O
onlline author 1/16/2013



Leonardo,
you need to use a built-in input mask feature:

http://xlinesoft.com/phprunner/docs/edit_as_settings_text_field.htm


Hi!
appears the same error
Field Should be a valid currency
Thanks in advanced

Admin 1/17/2013

Remove the validation of this field.

O
onlline author 1/17/2013



Remove the validation of this field.


Hi!
using R$ 000.000.000,00 or $ 000,000,000.00 or $ 000.000.000.00 calculate values on the fly not work
Thanks in advanced