Use decimal arithmetic property

Official Content
This documentation is valid for:
Allows the developer to perform floating-point operations with precision.


No Floating point is not applied in the operation.
Yes Floating point is applied in the operation. This is the default value.


Let's suppose you have 72.35 * 100 in Java. Then the result will be 7234.9999999.

But if in GeneXus you have an N(10) - integer type variable, and you assign the same operation to it, you will not get the expected result:

&integer = 72,35 * 100  //return 7234

By setting this property to Yes, you will obtain the expected result.

How to apply changes

To apply changes made by this property, do a Re-Build All.


Objects: Procedure
Platforms: Web(Java)

See Also

Round function