It is possible that you are looking for trunc. It depends on what you mean by the decimal part. This is the difference between trunc and floor:
julia> trunc(Int, 1.2)
1
julia> trunc(Int, -1.2)
-1
julia> floor(Int, 1.2)
1
julia> floor(Int, -1.2)
-2