< Back to IRCAM Forum

extracting denominator from a fraction

Dear Om Users

I would like to extract the denominator from a fraction.
For example:

I have
865/3551
and I need 3551 as an integer.

Is it possible? And how to do it?

Thanks a lot

Best
L

Dear MariaRose,

easy, just use the denominator function it will give you the denominator.
else you ca also use numerator fro the numerator…

best
K

Dear Karim

Thanks! Thats really easy :slight_smile:

Best
L