[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 282: Undefined array key "app_rebranding_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 283: Undefined array key "app_url_scheme"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 284: Undefined array key "app_icon_url"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 285: Undefined array key "app_name"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 287: Undefined array key "app_alert_message"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 289: Undefined array key "app_android_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 290: Undefined array key "app_android_description"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 291: Undefined array key "app_banner_message_android"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 294: Undefined array key "app_ios_id"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 295: Undefined array key "app_ios_description"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tapatalk/tapatalk/event/main_listener.php on line 296: Undefined array key "app_banner_message_ios"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3035)
Foros Ingeniería Civil • redondeo con mathcad
Página 1 de 1

redondeo con mathcad

Publicado: Lun Mar 09, 2009 4:29 pm
por daved3
hola amigos algun experto en mathcad que me pueda decir como redondear un numero , por ejemplo 23.789 que me de 24.00 alguna funcion que haga eso?
gracias

Re: redondeo con mathcad

Publicado: Mié Mar 11, 2009 11:28 am
por FYU
Del menú Ayuda:

round(z, [n]) Devuelve z redondeado a n posiciones decimales. Si n se omite, devuelve z redondeado al entero más próximo (n se supone que es cero). Si n < 0, devuelve z redondeado a n posiciones a la izquierda de la coma decimal. Si la posición decimal (n + 1) es menor que 5, el número se redondea a la baja, de lo contrario, se redondea a la alta.
Round(z, y) Devuelve round(z / y) · y, que redondea z al múltiplo más próximo de y. Tenga en cuenta que round(z, 1) = Round(z, 0,1).

Entonces:
  • round( 23.789 , 1 ) = 24

Re: redondeo con mathcad

Publicado: Jue Mar 12, 2009 3:21 pm
por daved3
gracias amigo , pero me resullto mejor usar la funcion ceil y floor

Re: redondeo con mathcad

Publicado: Vie Mar 13, 2009 5:39 am
por FYU
Ok.

En general, las funciones se llaman "igual" en uno y otro programa, así como también sus argumentos.

Para seleccionar una función en Mathcad:

ir al menu >>Insertar >>Función...
o
Ctrl+E
o
en la Barra Estándar hacer click en el ícono f(x)

y desde el cuadro Insertar función se puede acceder al menu de ayuda de cada una de ellas o ir al menu >>Ayuda >>Ayuda de Mathcad >>Funciones.