This i what I am trying to achieve:
If a float has more than 4 decimal places, only keep until the first 4 dec places (do not round.)
Eg.: 111.3547698 -> 111.3547
If a float has less than 4 decimals, leave unchanged
I came across this command:
float example = 111.3547698;
((Math.Truncate(Example * 1000)) / 1000)
But I do not want to round. According to the command posted above, 111.3547698 -> 111.354
but I need it to stay: 111.3547