CASTING / CONVERTING NUMBERS


Here are a few things that will be useful for your first lab/project.

Depending on your approach, you will have to separate the fractional part of a double value from the whole number part. Here are two operators that accomplish this task: