1. Decimals and Integers - Reply

function tf(atom x) -- return {trunc, frac}
   atom t
   if x<0 then
      x=-x
      t=floor(x)
      return -{t,x-t}
   else
      t=floor(x)
      return {t,x-t}
   end if
end function

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu