you can use the function max(A, B) which takes two arguements, A and B. the function max returns the maximum of A and B. if you use it like:
= max(0, <some cell>), then if <some cell> is less than 0 max() will return 0 otherwise the value of the <some cell>
If you are a locality that uses the "," as a decimal then you should replace the "," in the formula I show with the proper argument seprator for your locality.