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.
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.
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: