numerator

get the numerator of given number


Parameters

numerator number :integer :floating :rational

Returns

  • :integer

Examples

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

copy
print numerator 10 ; => 10

Related