ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] §Q®§¤ÀÅu¸Õºâªí¤G°Ý

[µo°Ý] §Q®§¤ÀÅu¸Õºâªí¤G°Ý

¤p©f±q¨Æ·|­p¤u§@¡A±ý°µÀ³¥I²¼¾Ú§Q®§¶O¥Î¤ÀÅuªí¡A
¦ý¸Õºâ¤ÀÅu¹Lµ{¹J¨ì¥H¤U°ÝÃD¡G

(1)¯}¤ë°ÝÃD¡G¦]»Ý±q¶}©l¤é¦¸¤ë­pºâ¡A¥Ø«e°µªk¬O¥[¤@»²§UÄæºâ¥X¥þ¦~¡A¦A¨Ì¤ñ¨Ò/12*³Ñ¾l¤ë¥÷´«ºâ
(2)³v¤ë¤ÀÅu°ÝÃD¡G¥H102¦~¨Ó»¡¡A»Ý¥Î¤W­zªºª÷ÃB¦A°£¥H³Ñ¾l¤ë¥÷¡A³£­n³vµ§¥h­×§ï³Ñ¾l¤ë¥÷¡A¥B³Ì«á¤@­Ó¤ëÁÙ·|¦³§À®t°ÝÃD¡A

¤§«e¸ê®Æ¶q¤ÖÁÙı±o³vµ§­×§ïOK¡A¦ý²{¦b¸ê®Æ¶q¤j¥B¤S¥[¤W»²§UÄæ§ï¨ì¦³ÂI²´·ú§Öªá±¼¤F¡A
¯à§_½Ðª©¤W°ª¤â«üÂI§@ªk¬Ý¯à§_¥H¤@Äæ§Yºâ¥X©Îªí®æ»Ý°µ«ç»òªº­×¥¿¤~¤ñ¸û¾A·í¡A·PÁÂ~

§Q®§¤ÀÅu­pºâ.rar (8.57 KB)

¦^´_ 1# paddyliu


    ¸Õ¬Ý¬Ý
  1. Function fl(amount, rate, start, year)
  2. If year = 1 Then '²Ä¤@¦~§Q®§­pºâ
  3. fl = amount * ((1 + rate) ^ year - (1 + rate) ^ (year - 1)) * (12 - Month(start)) / 12
  4. Else
  5. fl = amount * ((1 + rate) ^ year - (1 + rate) ^ (year - 1)) * Month(start) / 12 + amount * ((1 + rate) ^ (year - 1) - (1 + rate) ^ (year - 2)) * (12 - Month(start)) / 12

  6. '§Ú­Ó¤Hı±o¤½¦¡­n­×¥¿¦¨«á­±³o¤@­Ó...
  7. 'fl = amount * ((1 + rate) ^ year - (1 + rate) ^ (year - 1)) * (12 - Month(start)) / 12 + amount * ((1 + rate) ^ (year - 1) - (1 + rate) ^ (year - 2)) * Month(start) / 12
  8. End If
  9. End Function
½Æ»s¥N½X
¥Î¦Û©w¸q¨ç¼Æ ¥i¥H§â¨C¦~ªº§Q®§ºâ¥X¨Ó
§A»¡ªº§Q®§Åu¤ë §Ú´N¤£À´...§A¦Û¤v¦AÅܤƧa
§Q®§¤ÀÅu­pºâ.rar (15.17 KB)
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ¸Ü¦h¤£¦p¸Ü¤Ö¡A¸Ü¤Ö¤£¦p¸Ü¦n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD