Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

how to print the sum of the remainder of an integer

$
0
0
hi i need urgent help asap in C#

i need to print the sum of the remainder of an integer.
I know how to print the sum of an integer (ex: 1452 = 1+4+5+2)

but how to i add the remainder if my integer is 12.345?
how do i print 3+4+5?

URGENT HELP

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>