Skip to main content
Commonmark migration
Source Link

#Excel VBA, 42 bytes

Excel VBA, 42 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=Int(k*Rnd):?y:k=y:Wend

#Excel VBA, 42 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=Int(k*Rnd):?y:k=y:Wend

Excel VBA, 42 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=Int(k*Rnd):?y:k=y:Wend
added 5 characters in body
Source Link
Taylor Raine
  • 8.8k
  • 2
  • 28
  • 51

#Excel VBA, 3742 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=k*Rndy=Int(k*Rnd):?y:k=y:Wend

#Excel VBA, 37 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=k*Rnd:?y:k=y:Wend

#Excel VBA, 42 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=Int(k*Rnd):?y:k=y:Wend
Source Link
Taylor Raine
  • 8.8k
  • 2
  • 28
  • 51

#Excel VBA, 37 bytes

An anonymous function that takes input from range [A1] and outputs to the console.

k=[A1]:?k:While k:y=k*Rnd:?y:k=y:Wend