You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Arun Prakash <Ar...@lntinfotech.com> on 2013/09/17 07:00:23 UTC
Rounding with 8 places
Hi,
I don't know, how to round the number with 8 decimal places in pig .
Eg:
Number =====> Rounded
0 =====> 0.00000000
3 =====> 3.00000000
3.1 =====> 3.10000000
-10.18 =====> -10.1800000
Any suggestions?
Regards,
Arun Prakash
________________________________
The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"