If engine (or other software components) categorically refuse to work with non-integer numbers, then pseudo-multiplication by ten can be used.
Example: 1,6 = 16 counts, which are shown to players as show text "count/10" (=1.6), but in code will be number 16.
Example: 1,6 = 16 counts, which are shown to players as show text "count/10" (=1.6), but in code will be number 16.