cancel
Showing results for 
Search instead for 
Did you mean: 

Numbers going over the range in Mapping

Former Member
0 Kudos

Hi

i have a simple mapping where i multiply a num with 1000.

and it working fine..but for 8.1 its going over the rane its showing 8100.005

what could be the problem for this?

Accepted Solutions (0)

Answers (4)

Answers (4)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

FormatNum function will take care your issues. Dont need to go for UDF.

Former Member
0 Kudos

formatNum is the standard way.

however if you want more precision you could write a UDF that uses a more detailed data type available in java

Former Member
0 Kudos

You can map the field like

multiply a num with 1000 >FormatNum (define accordingly)>Output

Thanks,

Former Member
0 Kudos

Hi,

it might be taking the float value . you can make use of Format Num..mapping function for this..

HTH

Rajesh