Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
LongPrice = 108100
msgbox left(longPrice,len(longPrice)-3) & " - " & right(LongPrice,3) -- Regards, Tom Ogilvy "Steve" wrote in message ... Hi, I need to be able to seperate a number into two components, its decimal and non decimal component. For example: Long Price = 108100 ModifiedPrice= Price/1000 (ie. 108.100) I need to store these value in two different varibales numbercomponent = ? (108) decimalcomponent= ? (.100) Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I extract the decimal places from a number in excel? | Excel Worksheet Functions | |||
extract decimal and convert to integer | Excel Discussion (Misc queries) | |||
How to extract decimal numbers e.g. $1.57 from alphanumeric string | Excel Discussion (Misc queries) | |||
Converting 2-place decimal value to floating point decimal number with leading zero | Excel Discussion (Misc queries) | |||
extract decimal place digit | Excel Worksheet Functions |