ÄÚÈÝ·¢²¼¸üÐÂʱ¼ä : 2024/12/22 12:02:59ÐÇÆÚÒ» ÏÂÃæÊÇÎÄÕµÄÈ«²¿ÄÚÈÝÇëÈÏÕæÔĶÁ¡£
×ÊÁϽö¹©²Î¿¼
º¯ÊýÓ÷¨
INT£¨number£©
Number ÐèÒª½øÐÐÏòÏÂÉáÈëÈ¡ÕûµÄʵÊý¡£ Ëùν¡°ÏòÏÂÉáÈ롱¾ÍÊǵ±¼ÆËãʱ£¬Èç¹û¼ÆËã½á¹û²»ÎªÕûÊýʱ£¬È¡Ð¡ÓڸüÆËã½á¹ûµÄÕûÊý
Ïà·´µÄ£¬¡°ÏòÉÏÉáÈ롱¾ÍÊǼÆËã½á¹û²»ÎªÕûÊýʱ£¬È¡´óÓڸüÆËã½á¹ûµÄÕûÊý
¡¾µÚ16Ìס¿
=INT((TODAY()-I3)/365)
¡¾µÚ18Ìס¿
=\µÚ\¼¾¶È\
TRUNCº¯Êý
TRUNCº¯Êý·µ»ØÒÔÖ¸¶¨ÔªËظñʽ½ØÈ¥Ò»²¿·ÖµÄÈÕÆÚÖµ¡£ TRUNC£¨number,[num_digits]£© Number ±ØÐë¡£ÐèÒª½ØβȡÕûµÄÊý×Ö¡£ Num_digits ¿ÉÑ¡¡£ÓÃÓÚÖ¸¶¨È¡Õû¾«¶ÈµÄÊý×Ö¡£ Num_digits µÄĬÈÏֵΪ 0£¨Á㣩¡£ ˵Ã÷: TRUNC ºÍ INT ÀàËÆ£¬¶¼·µ»ØÕûÊý¡£TRUNC Ö±½ÓÈ¥³ýÊý×ÖµÄСÊý²¿·Ö£¬¶ø INT Ôò
×ÊÁϽö¹©²Î¿¼
ÊÇÒÀÕÕ¸ø¶¨ÊýµÄСÊý²¿·ÖµÄÖµ£¬½«ÆäÏòС·½Ïòµ½×î½Ó½üµÄÕûÊý¡£INT ºÍ TRUNC ÔÚ´¦Àí¸ºÊýʱÓÐËù²»Í¬£ºTRUNC(-4.3) ·µ»Ø -4£¬¶ø INT(-4.3) ·µ»Ø -5£¬ÒòΪ -5 ÊǽÏСµÄÊý¡£
ʾÀý
¡¾µÚ19Ìס¿
=E2*(TRUNC((HOUR(J2)*60+MINUTE(J2))/15)+1)
=E2*TRUNC((HOUR(J2)*60+MINUTE(J2))/15)