Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to fetch decimal part of a number in pl sql dynamically

imation3mJan 30 2018 — edited Jan 30 2018

How to fetch decimal part of a number in pl sql.

for e.g.

In case of 1234.768 return value should be 768

But if number is 1234 then should return null or zero.

How to achieve this in oracle pl sql query

This post has been answered by Sven W. on Jan 30 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2018
Added on Jan 30 2018
4 comments
510 views