You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
I have just discovered the format function, exactly what I was looking for, thanks!
Currently I can only find a precision option that fixes the number of decimal places.
It would be very useful to have a significant option that fixes the number of significant figures instead.
But since the * is not supported in @printf strings, one cannot determine the number of significant digits at runtime (except with the eval trick), so @printf is not a replacement for significant=x.
It would be a great to have this feature. I had this problem with displaying pvalues where I would like to show 4 significant figures over several orders of magnitude.
I have just discovered the
format
function, exactly what I was looking for, thanks!Currently I can only find a
precision
option that fixes the number of decimal places.It would be very useful to have a
significant
option that fixes the number of significant figures instead.E.g.
I would like an option to fix
significant=6
to get3.14159
in the first case, and31.4159
in the second.The text was updated successfully, but these errors were encountered: