Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 512 Bytes

File metadata and controls

30 lines (16 loc) · 512 Bytes

Rationalize

Rationalize(expression)

convert numerical real or imaginary parts in (sub-)expressions into rational numbers.

Examples

>> Rationalize(6.75)
27/4

>> Rationalize(0.25+I*0.33333)
1/4+I*33333/100000

Implementation status

  • ✅ - full supported

Github