Pass float to template, format it to one d.p. in template. Closes #903