Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
oszarse
oszarse's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Dividing to get a decimal
[4 Replies]
24-Feb-2013 11:17 AM
Forum:
Programming Questions
If I want to store a value in a float, such as .75, only by dividing numbers (3 / 4), how can I do this. When I try to do this using the obvious methods (to me at least), float number = 3 / 4; it rounds down. Is there a way to do this? Thanks.
«Prev
Next »
Moderate user : oszarse
Forum