Jump to content

Category talk:Wren-rat: Difference between revisions

→‎Source code: Rewrote toMixedString method which was buggy previously.
(→‎Source code: Doh. still not right :()
(→‎Source code: Rewrote toMixedString method which was buggy previously.)
Line 221:
toMixedString {
var q = _n / _d
var rsign = _nq %< _d0 ? "-" : ""
if (r.isNegative) rq = -rq.abs.truncate
returnvar q.toStringr += "_" + r_n.toStringabs + "/" +% _d.toString
return sign + q.toString + "_" + r.toString + "/" + _d.toString
}
 
9,482

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.