Skip to main content
added 52 characters in body
Source Link
lyxal
  • 34.3k
  • 2
  • 64
  • 141

Keg, -rn 6 55 4 bytes

᠀\./÷:1%-

Try it online!Try it online!

Takes the input as a string, splits on the decimal and discards Look ma, no unicode!

A port of the decimal part.RProgN2 answer

Keg, -rn 6 5 bytes

᠀\./÷

Try it online!

Takes the input as a string, splits on the decimal and discards the decimal part.

Keg, 6 5 4 bytes

:1%-

Try it online!

Look ma, no unicode!

A port of the RProgN2 answer

Source Link
lyxal
  • 34.3k
  • 2
  • 64
  • 141

Keg, -rn 6 5 bytes

᠀\./÷

Try it online!

Takes the input as a string, splits on the decimal and discards the decimal part.