FAQ
I implemented in pig code for the same.

*Code: (ROUND((1205.67534337)*100000000f))/100000000f, *
it is working fine for rounding the digits upto 3-4 decimal points and it
is not working correctly for 8 decimals. Can you suggest! Where we went
wrong or any other way to achieve "*rounding up any digits to 8 decimal
points*" and i don't want to use UDF for this.
On Tuesday, 17 September 2013 10:36:07 UTC+5:30, Arun Prakash wrote:

Hi,

I don't know, how to round the number with 8 decimal places in pig .

Any suggestions?
--

---
You received this message because you are subscribed to the Google Groups "CDH Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdh-user+unsubscribe@cloudera.org.
For more options, visit https://groups.google.com/a/cloudera.org/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupcdh-user @
categorieshadoop
postedSep 17, '13 at 5:06a
activeSep 17, '13 at 9:56a
posts2
users1
websitecloudera.com
irc#hadoop

1 user in discussion

Arun Prakash: 2 posts

People

Translate

site design / logo © 2021 Grokbase