Function that converts values to 0 or 1 – math.stackexchange.com

I'm looking for a function that takes a number between 0 and 1 and converts it into 0 if number is between 0 and 0.5, and into 1 if number is between 0.5 and 1. So far I've got the first part, f(x) = ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Function that converts values to 0 or 1 – math.stackexchange.com"