Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get value to the right of the decimal point.

Status
Not open for further replies.

Sajuks

Programmer
Jun 3, 2000
23
IN
Hi there,
Select 10/11 from dual returns 0.909
What i would like to get using a single select is the value
"909"
.
TIA

Regards
 
[tt]SELECT Substr(To_Char(10/11),
Instr(To_Char(10/11),'.') + 1,3)
FROM SYS.DUAL;[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top