也许一行数学? [英] One line of math perhaps?

查看:81
本文介绍了也许一行数学?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的数学函数我想要预成型。对于每10个单位选择一个字段,我需要减去3个单位。因此,如果选择了30个单位,那么就会从那30个单位中减去9个单位,然后再将其放入其休息场。


希望它不是太复杂,但是我可以理解它时间。

I have a somewhat simple math function i would like to preform. For every 10 units selected into one field, I need 3 subtracted from. So if 30 units is selected, then 9 is subtracted from that 30 before being dumped into its resting field.

Hopefully its not too complicated, but it was more then I could figure out at the time.

推荐答案


我有一个简单的数学函数我想要预成型。对于每10个单位选择一个字段,我需要减去3个单位。因此,如果选择了30个单位,那么就会从那30个单位中减去9个单位,然后再将其放入其休息场。


希望它不是太复杂,但是我可以理解它时间。
I have a somewhat simple math function i would like to preform. For every 10 units selected into one field, I need 3 subtracted from. So if 30 units is selected, then 9 is subtracted from that 30 before being dumped into its resting field.

Hopefully its not too complicated, but it was more then I could figure out at the time.

展开 | 选择 < span class =codeDivider> | Wrap | 行号


这是按比例计算的吗?

或者是它在减去任何值之前达到10的倍数是必要的(换句话说,值29返回8.7或简单地为6)?
Is this on a pro rata basis?
Or is it necessary to reach a multiple of ten before any is subtracted (in other words does a value of 29 return 8.7 or simply 6)?



这是按比例计算的吗?

或者是否有必要在减去任何值之前达到十的倍数(换句话说,值29是否返回8.7或只是6)?
Is this on a pro rata basis?
Or is it necessary to reach a multiple of ten before any is subtracted (in other words does a value of 29 return 8.7 or simply 6)?



每10个单位,我需要减去3个单位。如果选择9或8个单位,则不需要进行任何操作,除此之外保持9或8.如果11完成,那么我需要减去3然后添加1。

Every 10 units, i need to subtract 3 Units. If 9 or 8 units is selected, then nothing needs to be done, other then keeping that 9 or 8. If 11 is done, then i need the 3 subtracted for the 10 then added with 1.


这篇关于也许一行数学?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆