include both 7 and 7.7 !?

I am having a problem with declaring variable type
between intValue and floatValue. The problem I have for the moment is ;

Advertisements

2 thoughts on “include both 7 and 7.7 !?

  1. Can you use int() or float() to convert the data type? I haven’t tried this yet, but it’s likely I’ll run into the same problem. I’ll try it and see what happens.

    • Hi Rebecca I solved this problem. floatValue should work fine with both 7 and 7.7 now. float should include int value also but there was debug in library, so Francis updated his library and now it works fine.

Comments

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s