Method min(float a, float b)
Return type: float
Member of:
java.lang.Math
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
this.percentComplete = Math.min(newPercentComplete, 1.0f);
2
this.fPercentComplete = Math.min(percentComplete, 1.0f);
3
float newBrightness = Math.min(brightness * factor, 1.0f);
4
return new Rectangle(Math.min(llx, urx), Math.min(lly, ury),
5
float scale = Math.min(sX, sY);
6
leftLine[0] = Math.min(llx, urx);
7
minVal= Math.min(minVal,ms.minDataS);
8
this.diameter = Math.min( heightNeeded, widthNeeded );
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.