ruby generator: fix normalization for default values 1.f, .1f