Brian Dunning's FileMaker Custom Functions

REDONDEO_CL ( NUMERO )

Redondeo chile

  Be the first to rate this function Log in to vote

Tomas ortega   Tomas ortega - Show more from this author
Augurio Solutions
http://augurio.cl

Share on Facebook Share on Twitter

  Sample input:
REDONDEO_CL( 504 ) = 500
REDONDEO_CL( 506 ) = 510
  Sample output:
500
510

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

/*
* ==============================
* RENDONDE_CL ( NUMERO )
* ==============================
* Nueva regla de Redondeo que aplica para los pagos en efectivo desde el 1 de
* noviembre del 2017
* las monedas de $1 y $5 dejarán de emitirse, redondeando el valor total de
* la cuenta.
* Ejemplo: Si el valor termina de $1 a $5, se redondea para abajo $785 = $780
* Si el valor total termina de $6 a $9, se redondea para arriba $786 = $790
* ==============================
* Creado: 21-05-2018
* By: Tomas ortega • https://augurio.cl
* Version: 1.0
* ==============================
*/

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: