LXH 发表于 2024-9-1 10:36:39

关于小数点位数的问题

本帖最后由 LXH 于 2024-9-1 10:37 编辑


[*](defun c:tt ()
[*](RTOS (/ 84100.0 841) 2 4)
[*])
[*]这样一段代码 在cad中显示为啥会不同呢向各位大侠请教 整除的话如何只保留整数 不要小数后的data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvAAAAByCAIAAAC6I3LXAAAgAElEQVR4Ae19+1McR7amfm7azdX+B5JuCBCSrrBsA3oDAqH30x5EIGBhNHdnPCs06MoyFrYjEIbReEajK1vQDzVCCIQkz+hhazx7Z7GMrndjJmL/qY2qpE5nVWVlZXcf6p4uTkRGR1ZV1unML79z8uvMrK51G2p3lJw21r3d0Nixse7tki3YNzZs3ta4obbBY6S3f+Ds+z8zTl3nftZ99v0uffne/oGpdDY45aaz+al0LriA5l75EoqdXC7/oOzK4NSEFCwYlWFsZbpCHoctzFtVAIkZttmpNE6LUNwZxQgZ3jK2EJHkjBHf1nlkRFGHcRU0NXX1iWRKFZVkfNV5+97qGDjYpcvDDgIuJo2NTySSKemqGgfnXvmqy46qgFw4KI9jhEzwQmkOrQjI2Kq4jdLRdIQ4LcrFIN66OYPDFhRYUIxEFhPW2VMjDaV9btqys6Hx0KYtO0u7Xdy1sa5h87amjXXeOvT2D5459zPzdPaD86GFe/sH7TmPXNDndDbf1X0hkaxOJKvHxieDigWdv3T5irjXIUHgFwVZgPPTGSt4TWdKtFBTt1XUpCq1XmTgs6WtA74lKDM2PplIVtfUbRUFauu3w13iEoAjmgyHQQbF+fJhkX4XloiMZaE8bKGNRJrD2EKPeDIoHYRCORQjpHiL0iI6Rhhbj+/AYflOFCW26zZvayw51Wxv3tl8pGZ7c8kW7BubtuzYs3lbk8dI38DFsx+cN0/vf9AdWrhv4OJ0Nq9Jvxn+qCq1fmj46tDw1arU+hsTNzWFPZduTNwU957v6dtS/y+eq8UeprP5XH4ura1tqM2q1PovJn4niokWhd4iF6hKra+t3z6dzX8x8TsZDTlfW7/9fE+ffJc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GIKHKV6qsbf34U/g0U1yOyucT30i8Og0PilwFb04RG09/zjH2oo7mwqE8scVhJpcquhJZddTyrOIZ6vS0pBACEIBADAnES/l+8+TT0aaBwSF3tLNYqswtlGdvVJHmF1eiekuRhDrFsdNNLn7PElMdEtkLP4FC7rEMGdt03Ncd6nQYcAkBCEAgzgSSqHwPDiSUKtfyD47ohUxRyV7cpoI6nXHrGP2BAAQg0DgC/wU3n2dzWhvr0AAAAABJRU5ErkJggg==
一个结果显示“100”       另一个显示“100.0000”

永不言弃 发表于 2024-9-1 10:57:24

本帖最后由 永不言弃 于 2024-9-1 11:00 编辑

DIMZIN(系统变量)
控制针对主单位值的消零处理。值为 0 到 3 时仅影响英尺-英寸标注:
值说明
0消除零英尺和零英寸
1包含零英尺和零英寸
2包含零英尺,消除零英寸
3包含零英寸,消除零英尺
4消除十进制标注中的前导零(例如,0.5000 变为 .5000)
8消除十进制标注中的后续零(例如,12.5000 变为 12.5)
12消除前导零和后续零(例如,0.5000 变为 .5)

DIMZIN 还影响 AutoLISP rtos 和 angtos 函数执行的实数-字符串转换。

i小小白i 发表于 2024-9-1 10:59:49

1.CAD精度设置不同,看一下系统变量 “LUPREC”
2.fix函数

LXH 发表于 2024-9-1 11:05:40

永不言弃 发表于 2024-9-1 10:57
DIMZIN(系统变量)
控制针对主单位值的消零处理。值为 0 到 3 时仅影响英尺-英寸标注:
DIMZIN 还影响 A ...

感谢永不言弃 DIMZIN=8之后计算出来小数点后0消失了
页: [1]
查看完整版本: 关于小数点位数的问题