title: Javascript rationals - preserving denominator of 1
body: <p>I need to work with rationals in Javascript that have a denominator of 1. So, I have some input value, say 1024, and I need to store it as 1024/1. Of course <code>1024 / 1</code> just gives me 1024. So how can I obtain the raw rational version?</p>