Hi,
how would you go about dropping one or more digits after the decimal point? What would be the standard Pd way?
Cheers
Truncate in Pd
Hi,
how would you go about dropping one or more digits after the decimal point? What would be the standard Pd way?
Cheers
@cfry if you want the actual number truncated, that's usually done with multiplication and [int]
. (for instance to get truncation within 2 decimal points, multiply by 100, use [int]
, then multiply by 0.01 to get back to original range.
If you just want to display a certain number of decimal places, you can use the formatting specifiers in [makefilename]
Oops! Looks like something went wrong!