base converter

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

Post 3+ Months Ago

i made converter which convert using
Code: [ Select ]
parseInt
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 adamde90@o2.pl
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • 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 12 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.