Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double DSnip (double num)
- {
- int temp = (int)num;
- return num - temp;
- }
- // אם לא חובה משתני עזר, זה יעבוד:
- double DSnip (double num)
- {
- return num - (int)num;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement