denominator

get the denominator of given number


Parameters

denominator number :integer :floating :rational

Returns

  • :integer

Examples

copy
num: to :rational 12.4 ; num: 62/5 print denominator num ; => 5

copy
print denominator 10 ; => 1

Related