Skip to main content
2 of 4
deleted 1 character in body
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

#Mathematica, 54 bytes

#~NumberDecompose~{100,50,20,10,5,2,1,.25,.1,.05,.01}&

input

[44.75]

output

{0, 0, 2, 0, 0, 2, 0, 3, 0, 0, 0.}

ZaMoC
  • 24.9k
  • 2
  • 30
  • 81