Clamp (float) won't work well when I set min & max value with variables

For a moment I made clamp by myself and it seems working.