Divide n by 10^(l-s), where n is your original number, l is the length of your original number, and s is the number of significant figures you want your result to be.
Round or floor the result, then divide again by 10^(d) where d is the number of digits you want after the decimal.
You can use an expression to get l, which would be len(n), as long as n is a whole number.