36. Integer Part

Medium

Extract the integer part of an array of positive floats Z (i.e. round each value down toward zero), returning a float array.

Input

[0.2  1.9  5.5  9.99 3.  ]

Output

[0. 1. 5. 9. 3.]

Sign in to write and run your own code.

Implement solve(...)