Ho to change decimal point from point to comma?

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
wemersonrv
Posts: 12
Joined: 2015-09-08 13:43

Ho to change decimal point from point to comma?

Post by wemersonrv » 2015-09-25 13:40

Hi, i'm newbie at AppGini and starting a new application using this amazing tool.

The app is for use only in Brazil and here the decimal separator for numbers is the comma(,) not the point(,)... But the generation in appgini is automated and use point(.) as decimal... how can i change it to be useful in appgini ?

Complementing... Like comma(,) is the decimal separator, the thousands separators is point(.), of course.

Ola Yakout
AppGini Intern
Posts: 19
Joined: 2016-02-07 13:24

Re: Ho to change decimal point from point to comma?

Post by Ola Yakout » 2016-02-12 18:27

In field , There is Data format tab which show you the format used in AppGini.
if you want to add/edit format click in the add/edit format button which will tell you that you can do it by using that script "C:\Program Files (x86)\AppGini\dataFormats.cfg"

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Ho to change decimal point from point to comma?

Post by AhmedBR » 2022-07-10 01:51

Hi everyone,

It is a small world, after all these years, I needed this today.

Using dataFormats.cfg only MASKs the number, BUT does not solve the problem.
If you write with comma, the number will be truncated, loosing the math in the process. 100,25 will be 100 (the 0.25 will be gone).
Any ideas how to do this?

thank you
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Ho to change decimal point from point to comma?

Post by AhmedBR » 2022-07-10 02:10

Found a solution here (google did not show that link)
viewtopic.php?t=1278


Hope it works :D
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Ho to change decimal point from point to comma?

Post by AhmedBR » 2022-07-10 19:05

there is also this link:
viewtopic.php?t=4297

trying to group the links in one topic easier for the next one to look for this.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

Post Reply