# DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.

# Min- Returns the smallest percentage fraction of the graph size

Function that returns the smallest fraction of the drawing area taken from the smallest percentage between its width and height.

- Min(P): float

Parameters:

- (float) P: percentage of the minor fraction to be derived.

Description:

To obtain the size in points of a portion of the drawing area, the Min function can be used. This function accepts as arguments the percentage P indicating the fraction of the desired area. The function returns the smaller fractional value between the width and the height. For example, if the drawing area has a width of 200 points and a height of 150 points, and you want a 50% portion of the area, the Min function will return 75 points.

This instruction corresponds to the fractional numeric type "number+min." As in the previous example, "Min(50)" produces the same result as "50min." The difference between the two forms is that the fractional numeric type requires only explicit numeric values, while the Min instruction can accept variables, constants, functions, or other types of expressions.