Float to Integer? | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Float to Integer?
May 13, 2019
1:20 pm
Avatar
AK7466
Guest
Guests

Hi.

I need to convert a "float" to an integer.  

I have tried to use LabVIEW's automatic coercion feature by wiring the float to an integer global variable, and then reading the global back again, but this seems rather contrived and inelegant and contrary to the LV data flow paradigm...

Without the LabVIEW conversion functions can anyone suggest a better solution?

Thanks

Regards Alan K.

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
2
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356