0

How would one seperate a decimal into 2 numbers, the left and right sides of the decimal?

float example = 131.14567

into...

int left = 131
float right = .14567

thanks.

5
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by ArkM
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.