Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 1 day, 14 hours ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

extracting denominator from a fraction

Author 2 Subscribed Users |
Profile photo of MariaRose
MariaRose

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

March 6, 2019 at 21:09 #29900
Profile photo of Karim
Karim

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

March 6, 2019 at 22:00 #29901
Profile photo of MariaRose
MariaRose

Dear Karim

Thanks! Thats really easy :)

Best
L

March 7, 2019 at 16:00 #29945

You must be logged in to reply to this topic.

Log in now