beatdetektor icon indicating copy to clipboard operation
beatdetektor copied to clipboard

reset maa_quality_avg

Open FalkF opened this issue 2 years ago • 1 comments

Saw this while trying to port it to TS. :)

FalkF avatar Apr 29 '22 20:04 FalkF

Oh and parseInt defaults to radix 8, is that what you intended for draft_int?

386: const draft_int = parseInt(draft_float / 10.0); I think the intention of this line was to set draft_int to draft_float / 10 and floor the value? The correct way would be to use Math.floor() or Math.round().

FalkF avatar Apr 29 '22 20:04 FalkF