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

[µo°Ý] "\"¹Bºâ¤l¨Ï¥Î°ÝÃD

[µo°Ý] "\"¹Bºâ¤l¨Ï¥Î°ÝÃD

½Ð±Ð¦U¦ì¤j¤jªº¸gÅç,
±ý¨Ï¥Î "\"¹Bºâ¤l¨ú°Óªº¾ã¼Æ¡A·í°£¼Æ¬O¾ã¼Æ®É¥i¥¿½T¨ú±o¾ã¼Æ¡A¦ý­Y°£¼Æ¦³¤p¼ÆÂI´N¦³°ÝÃD¤F¡A½Ð°Ñ¦Ò¥H¤U½d¨Ò:
½Ð°Ý¤j¤j­Ì¡A¬O§_"\"¹Bºâ¤l¤@©w­n°£¼Æ¬O¾ã¼Æ®É¤~¥i¥¿½T¨ú±o¾ã¼Æ­È?
¥Ø«e¨Ï¥Îint()Á׶}¦¹°ÝÃD.

----------------------------
?203.2/3
67.7333333333333
?203.2\3
67

?203.2/1.87
108.663101604278
?203.2\1.87
101   ===>¿ù»~
?int(203.2/1.87)
108

¦^´_ 4# stillfish00

·PÁÂstillfish00 ªº¦^ÂÐ.

TOP

¦^´_ 1# swatt
VBA¤¤ , "\" ¬O¥Î¨Ó°µ¾ã¼Æ°£ªkªº¡A¶Ç¦^¨ä°Ó¡C
©Ò¥H³Q°£¼Æ°£¼Æ³£¥²¶·­n¬O¾ã¼Æ¡A
¦pªG¥Î¤p¼Æ¥LÁÙ¬O·|¥ýÂন¾ã¼Æ¤~¥h°£¡C

int¸Ñ¨M´N«Ü¦n¤F¡A¤£µM´N¥Î¤º«Ø¤u§@ªí¨ç¼Æ
Application.WorksheetFunction.Quotient(203.2, 1.87)
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¦^´_ 2# jackyq

¦¬¨ì. fix()¥i¨ú±o­t¾ã¼Æ.
·PÁÂjackyq ªº¦^ÂÐ.

TOP

(1) \ ¥u¯à¥Î¦b long type

(2) fix( ) ¦Ó¤£¬O¥Î int( )

TOP

        ÀR«ä¦Û¦b : ¡i¦æµ½­n¤Î®É¡j¦æµ½­n¤Î®É¡A¥\¼w­n«ùÄò¡C¦p¿N¶}¤ô¤@¯ë¡A¥¼¿N¶}¤§«e¤d¸U¤£­n°±º¶¤õ­Ô¡A§_«h­«¨Ó´N¤Ó¶O¨Æ¤F¡C
ªð¦^¦Cªí ¤W¤@¥DÃD