[Solved] How to round floats? (0.234378996=0.23)

Just adding this as it ranks top Google for this problem:
For 1 decimal place:
Multiply by 10
Truncate
Divide by 10

2 decimals use 100, 3 use 1000 etc