unity get decimal part of float

C#
decimalPart = yourFloat % 1;
Source

Also in C#: