Hmm, not sure why this is so difficult, but it may be a matter of terminology 
more than numeracy.

To convert one unit to another you multiply by a conversion factor which is a 
ratio of the two measurements. As an additional benefit you can treat the units 
of measurement as factors and cancel them out as a way to check your conversion.

So, 0.1 seconds * (1000 milliseconds % 1 second) would give you 100 
milliseconds and the original seconds in the numerator and the conversion 
seconds in the denominator cancel out leaving milliseconds (and confirming that 
this is the result that you want). 

Hope this is useful.

Cheers, bob

On 2013-05-07, at 8:18 AM, Raul Miller wrote:

> Ok, yes... e-6 (or, in J, e_6) as a suffix on a number means that that
> number includes a *&(10^_6) modifier (on the part which appears to the
> left of the 'e') which is equivalent to a %&1000000 modifier.
> 
> Similarly, for e-3.
> 
> But when you change the modifier which is a part of the number you
> need to make the opposite change on the numeric part being modified,
> or the number which you are naming will not be the same number that
> you were talking about.
> 
> So we could say "Multiplying the 'divided by 1000' aspect of the
> 'milli-' modifier in milliseconds gives you units of 'seconds'", but
> obviously when we do this we need to divide the numeric value
> [milliseconds] by 1000 if we want to represent the same interval of
> time.
> 
> No?
> 
> --
> Raul
> 
> On Tue, May 7, 2013 at 10:36 AM, Greg Borota <[email protected]> wrote:
>> Micro: 10e-6
>> Mili: 10e-3
>> I grew up with metric system so that's how it goes.
>> http://en.wikipedia.org/wiki/Micro-
>> 
>> 
>> 
>> 
>> On Tue, May 7, 2013 at 7:33 AM, Raul Miller <[email protected]> wrote:
>> 
>>> I think you said that if something takes 1 millisecond and I
>>> multiplied by 1000 I would get 1000 seconds, and that if I something
>>> takes 1 millisecond and that if I divided by 1000 I would have 0.001
>>> microseconds.
>>> 
>>> I don't think that that's what you meant, but that's how I interpret your
>>> words.
>>> 
>>> --
>>> Raul
>>> 
>>> On Tue, May 7, 2013 at 9:59 AM, R.E. Boss <[email protected]> wrote:
>>>>> Van: [email protected] [mailto:
>>> [email protected]] Namens Raul Miller
>>>>> 
>>>>> multiplying milliseconds by 1000 would give microseconds.
>>>>> 
>>>> (...)
>>>>> On Tue, May 7, 2013 at 8:15 AM, Ric Sherlock <[email protected]> wrote:
>>>>>> Your timeit verb is defined as 1000 times the result of 6!:2
>>>>>> 
>>>> 
>>>> multiplying milliseconds by 1000 gives seconds (here), dividing
>>> milliseconds by 1000 gives microseconds.
>>>> 
>>>> 
>>>> R.E. Boss
>>>> 
>>>> 
>>>> 
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to