Am Freitag, den 06.04.2012, 20:04 +0200 schrieb Leszek Godlewski:
> Is there any good reason why float literals require a fractional digit
> after the decimal point to be valid? I'm accustomed to writing
> literals in the vein of 1.f and I find having to write 1.0f instead
> quite irritating.

I'm not sure if there is a good reason but you can actually just write
1f instead.

_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to