By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,045 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,045 IT Pros & Developers. It's quick & easy.

Get The Decimal Part Of A Number

P: n/a
How can I get the decimal part of a number? For example, the number is 4.25. How
do I get .25?

Thanks!

Mark
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Mon, 09 Aug 2004 03:02:02 GMT, "Mark" <mm*****@earthlink.net>
wrote:
How can I get the decimal part of a number? For example, the number is 4.25. How
do I get .25?

Subtract the integer portion of the value?

?4.25 - Int(4.25)
0.25
- Jim
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.