base converter

  • nuclear
  • Born
  • Born
  • nuclear
  • Posts: 1

Post 3+ Months Ago

i made converter which convert using
Code: [ Select ]
but these function cant' convert fractions.

could you write me script which is able to convert to other base system fractions.

please help me. more info Skype adamd90 or Emile
  • dyefade
  • Expert
  • Expert
  • User avatar
  • Posts: 712
  • Loc: UK

Post 3+ Months Ago

If you've successfully used parseInt (you don't say in what language)...

You would... split the string on the "/" character (or whatever it is), do two separate parseInts, perform a division.

There, pseudocode script. Ish.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2015. Ozzu® is a registered trademark of Unmelted, LLC.