PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the lowest of the values passed in parameter.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 16 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Smallest value?
ResMin = Min(10, 15, 20)  // Returns 10
ResMin = Min("Z", "A")    // Returns "A"
Syntax
<Result> = Min(<Value 1> [, <Value 2> [, <Value N>]])
<Result>: Character string, integer or real
The smallest of the values passed in parameter.
<Value 1>: Character string, integer or real
Value to compare.
<Value 2>: Optional character string, integer or real
Value to compare.
<Value N>: Optional character string, integer or real
Value to compare.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Linux wd230std.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Vou mostrar como retornar o Menor Valor
//Vou mostrar como retornar o Menor Valor

EDT_RESULTADO= Min(EDT_a,EDT_b)

// ELE VAI RETORNAR O MENOR VALOR ENTRE OS DOIS
// IT WILL RETURN THE LOWER VALUE BETWEEN THE TWO
// ÉL VA A RETORNAR EL MENOR VALOR ENTRE LOS DOS

// BLOG COM VIDEO E EXEMPLO


https://doc.pcsoft.fr/fr-FR/?3050004&name=min_fonction

http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1195-comandos-16-menor-valor-min.html

https://www.youtube.com/watch?v=3VP84QNJKKI

De matos
Jul. 02 2017