> Ve是否有函数或>方法将实数四舍五入到小数点后十位或百位?
它被称为round(),但它只会舍入到整数。
当然,你可以做十(x * 10)/ 10(十分之一)和(x * 100)/ 100(百分之一) - SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要订阅发送一个
空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,
发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
以上来自于谷歌翻译
以下为原文
> Do Vee have a function or a
> way to round-off real number
> to the tenth or hundred
> decimal place?
Kind of. It's called round(), but it only rounds to integers. Naturally, you
can do round(x*10)/10 for tenths and round(x*100)/100 for hundredths.
-SHAWN-
---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
> Ve是否有函数或>方法将实数四舍五入到小数点后十位或百位?
它被称为round(),但它只会舍入到整数。
当然,你可以做十(x * 10)/ 10(十分之一)和(x * 100)/ 100(百分之一) - SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要订阅发送一个
空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,
发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
以上来自于谷歌翻译
以下为原文
> Do Vee have a function or a
> way to round-off real number
> to the tenth or hundred
> decimal place?
Kind of. It's called round(), but it only rounds to integers. Naturally, you
can do round(x*10)/10 for tenths and round(x*100)/100 for hundredths.
-SHAWN-
---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报