[TIMOB-3336] int type doesn't exist on android
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2016-08-19T21:20:36.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | lunika |
| Assignee | Ingo Muschenetz |
| Created | 2011-04-15T03:42:28.000+0000 |
| Updated | 2017-03-20T21:37:26.000+0000 |
Description
On android, it is impossible to use int variables. They are automatically transform in float type. Using Ti.App.Properties.setInt/getInt don't resolve the problem.
Assuming this issue is talking about a Titanium Android app, then correct, there is no
intdata type. There is aNumberdata type and it can contain an integer or a float. Internallly,Numbervalues are stored as doubles. All JavaScript engines work this way. It's in the spec. In other words, this is not a bug.Closing ticket as invalid.