[Solved-1 Solution] Pig round down to the nth decimal place ?
Problem:
How to round a float or double down to the nth decimal place in pig ?
Solution 1:
- PIG has
ROUND_TO
. That will do the rounding based on the decimal points needed.
Example:
Input file: