SHARE
TWEET

Função que calcula a idade

qgustavor Sep 27th, 2013 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function idade=calculaidade(nascimento)
  2.   // http://help.scilab.org/docs/5.4.1/en_US/clock.html
  3.   // clock = [year month day hour minute seconds]
  4.   hoje = clock();
  5.   idade = hoje(1) - nascimento;
  6. endfunction
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top