There are 10 types of people in the world: those who understand binary, and those who don't.
It is possible to represent binary fractions with a point. Support in programming languages is uncommon, but it exists:
Welcome to Racket v9.3 [cs].
> #b0.01
0.25
The size of a subnet is, of course always an integer regardless of what kind of numbers your tools can understand.