1
General - (fb2k) / Re: Friendly formatting of frequency
Last post by Porcus -This is kind of a different question, but it fits with the topic. Is there an easy way to add commas to a sample rate value, turning 44100 into 44,100, 176400 into 176,400,$div(number,1000) and $num($mod(number,1000),3) ?
5564800 into 5,564,800, etc?That is a bit worse than another such routine on the $div(number,1000), because you don't want "0,044,100". An $ifgreater first. Or just stick to the final separator and let 2822 be 2822?