typedef struct __AfDalDecimal AfDalDecimal

Decimal number representation used across the Af-Arch framework.

The AfDalDecimal value have several features which makes it really usefull. It can change its current representation at runtime for every instance created inside the application and still maintains support to check if it is equal to other AfDalDecimal, or operate using it as a value to be sent to the database.

To create a new AfDalDecimal object you can use afdal_decimal_new. Then you can use afdal_decimal_stringfy to get current local representation according to the value set at afdal_decimal_set_decimal_separator. Finally to destroy object created, afdal_decimal_free function must be used.

You will find useful reading this document which talks about how decimal values are handled inside the Af-Arch.