The f_num
function from the numform
package will remove leading zeros from a number:
f_num(0.1)
Output:
.1
I need this very same thing, but with a comma instad of the period. It would also be great if the functionality of the f_num
function which allows you to round up the number of decimals would be kept.