Only integral part of a float is outputted when the fractional part is 0.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4872
Reported by Mathias Södermark firstname.lastname@example.org
Consider the following code and its output:Float 1: &var.float1;
Float 2: &var.float2;
Float 1: 1 Float 2: 1
The problem is only in the representation. It would be nice if floats are written with at least one decimal to distinguish them from integers.