Hello friends,
I have a column with numbers. What I want is if the value is greater than or equal to 1 then it should be rounded by two decimal points. And if the value is less than 1 then it should be rounded till the first two non-zero digits. Here is the example of the data and how the output should be?
| Strength | Output |
| 0.300 | 0.3 |
| 0.3300 | 0.3 |
| 0.0750000 | 0.075 |
| 0.075 | 0.075 |
| 0.001 | 0.001 |
| 0.0004 | 0.0004 |
| 0.00025 | 0.00025 |
| 0.000025000 | 0.00025 |
| 4.0023 | 4 |
| 23.2756 | 23.28 |
Can someone please help?