Get the ratio with obeying the law

Status
Not open for further replies.

fenglish

Member
Joined
Jun 14, 2009
Member Type
Other
Native Language
Chinese
Home Country
China
Current Location
China
Hi,

The law defined how to calculate the ratio of something.

I want to get that ratio by using program method, and added a comment as below.

/**
* Get the ratio with obeying the law.
*/
public float getRatio() {
...
}

I'm confusing with the "with obeying" and "by obeying":

1). Is it correct to use "with obeying the law" in this case?
2). Can I use "by obeying the law" in this case?
3). Are they all correct?

Thanks.
 
Last edited:
I think you mean "Use the rules to compute the ratio."
 
I think you mean "Use the rules to compute the ratio."


No, it's not rules. The ratio is defined in the law.

Does it make sense if I said "Get the ratio with obeying the law."?
 
Last edited:
No, it's not rules. The ratio is defined in the law.

Does it make sense if I said "Get the ratio with obeying the law."?
What law are you referring to?
 
What law are you referring to?

Let me try to explain the law by giving an example.

The ratio is 5% now and it will change to 2% from September 23, 2020.
 
Whose law is this? What country?
 
Whose law is this? What country?

It's a documentation stated what ratio should be used based on the "ratio publish date".
Please don't ask me to provide that documentation.

As I have said, it's defined like this:
The ratio is 5% now and it will change to 2% from September 23, 2020.


I think I can ask the same meaning by using the word "rule" instead of "law".

1). Is it correct to use "with obeying the rule" in this case?
2). Can I use "by obeying the rule" in this case?
 
Last edited:
So, it's not a law.

It's a rule that comes from some unknown place and is being changed for some unknown reason.
 
Refer to post #2 for the best wording.
 
So, it's not a law.

It's a rule that comes from some unknown place and is being changed for some unknown reason.

What about the question?

1). Is it correct to use "with obeying the rule" in this case?
2). Can I use "by obeying the rule" in this case?
 
/**
* Get the ratio with obeying the law.
*/
public float getRatio() {
...
}

I'm [STRIKE]confusing with the[/STRIKE] confused about "with obeying" and "by obeying":

1). Is it correct to use "with obeying the law" in this case?
2). Can I use "by obeying the law" in this case?
What about the question?

1). Is it correct to use "with obeying the rule" in this case?
2). Can I use "by obeying the rule" in this case?
See post #2.

In future, please include new versions of sentences you're asking about in your posts.
 
Status
Not open for further replies.

Ask a Teacher

If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know:

(Requires Registration)
Back
Top