SFW R EE0M N N EIN 0r A EDV LP ET DDS A G 软件开发 与设计 在 E cl xe 中采用 V A实现数值按 国标修约 B 马德 起 ,王 永 芳 ( 津 出入 境 检 验 检 疫 局 , 天津 3 0 5 ) 天 0 4 6 摘 要 :E cl中提 供 的修 约 函 数 不 能符 合 国 家标 准 G / 10 2 0 xe BT 8 7 — 0 8的要 求 。 通 过 建 立 V A 函 数 , 实现 了 E cl B xe 中 的数值按 照国家标 准修 约。经测试 ,函数 能满足标准需要 ,具有推广价值 。 关 键 词 :数 值 ; 约 ; xe ; B 修 E cl V A Us e VBA n Ex e or Ro i c lf und ng 0 fNu e ia l sAc o di o i f m rc lVa ue c r ng t GB/ 8 7 — 0 8 T 1 0 2 0 M A q De i,W ANG ng ang Yo f ( i j nr- xtnp cina dQ aat eB ra Taj 0 4 6 Ta i E t E iIset n urn n ueu. i i 3 0 5 ) nn y o i nn Ab t a t h u ci n o o n i g o u rc l a u s i c o o x e o s n ta r e w t e sa d r fGB T 0 sr c :T e f n t fr u d n f n me a l e n Mir s f E c ld e o g e i t tn a d o / 8 7 — o i v t hh 1 2 0 . h 0 n fVBA i gv n i i r c e w ih c n r u d o u rc lv l e n Mir s f Ex e c o d n o G / 0 8 T efu d o s ie n t sa t l . h c a o n f n me a a u s i c o o t c la c r i g t B r h i i 81 0 2 0 . trt e t s, h u t m u ci n c n me tt e s n a d r q i me t a d h sp p l r ai n v u . — 0 8 Af h e t t e c so f n t a e h t d r e u r 7 e o a e n, n a o ua z t a e i o l Ke r s y wo d :Nu r a l e; u d n f ; x e ; me c lVau i Ro n i g Of E c l VBA 1 引 言 在进行数 据统计 和实验检测 过程 中会得 到各种结果 ,结果 即 出 现模 块代 码 编辑 器 。 f l 确 需 保留 数字 数 定 要 的 位 0 数 据经 常需 要进 行修约 后 给 出。 国家 标准 G f 1 0 2 0 J B r8 7 — 0 8l I 中详 细规定 了数值 修约方法 。E cl xe