I want to print 2 float values which are separated by a space at one
line. In addition my float values must be %.1f type.
On Aug 11, 2011, at 08:42 AM, Filemonster Filemonster
[email protected] wrote:
I want to print 2 float values which are separated by a space at one
line. In addition my float values must be %.1f type.
puts “%.1f %.1f” % [ foo, bar ]
Gavin K. wrote in post #1016192:
puts “%.1f %.1f” % [ foo, bar ]
Or:
printf “%.1f %.1f\n”, foo, bar
thanks