MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

DigitBlock problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39527] DigitBlock problem
  • From: Dragan Stancevic <visitor at xalien.org>
  • Date: Fri, 21 Feb 2003 04:08:18 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi-

I am evaluating the following expression:

For[ i = 15, i < 17,
  Print[PaddedForm[BaseForm[i, 2], 8, NumberPadding -> {"0", ""},
  NumberSigns -> {"", ""}, DigitBlock -> 4, NumberSeparator -> " "]]; i++]

Which produces the following:
000001111
0001 0000

Can someone explain why is the DigitBlock->4 and NumberSeparator -> " " 
failing to apply to the padded 0s? Am I missing something?

Thanks.

-- 
Peace can only come as a natural consequence
of universal enlightenment. -Dr. Nikola Tesla


  • Prev by Date: spectrum
  • Next by Date: Re: Changing style in Plot
  • Previous by thread: Re: spectrum
  • Next by thread: Re: DigitBlock problem