Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to seperate front of decimal and back of decimal in C#

//If you want the bit of a Decimal value to the LEFT of the dot, you need to do this:

Math.Truncate(number)
 
PREVIOUS NEXT
Tagged: #seperate #front #decimal #decimal
ADD COMMENT
Topic
Name
3+3 =