[Vala] converting from float to double?
- From: Yu Feng <rainwoodman gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] converting from float to double?
- Date: Sat, 13 Dec 2008 22:09:14 -0500
Greetings,
I am receiving compiler errors for this:
float a = 0.0;
Shouldn't this be converted automatically?
I use
float a = (float)0.0
as a correction.
But doesn't it look non-intuitive?
Regards,
Yu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]