Skip to content

Conversation

@abarrau
Copy link
Contributor

@abarrau abarrau commented May 22, 2023

I propose change "round" to "ceil" (Round fractions up).

Because I work on an export plugin in EDI file (IARU REGTEST1), the rounding is systematically higher: "For the amateur bands up to 10 GHz inclusive, points will be scored on the basis of one point per kilometer, i.e. the calculated distance in kilometers will be truncated to an integer value and 1 km will be added. " (excerpt from VHF_Handbook_V9.01)

I propose change "round" to "ceil" (Round fractions up).

Because I work on an export plugin in EDI file (IARU REGTEST1), the rounding is systematically higher:
"For the amateur bands up to 10 GHz inclusive, points will be scored on the basis of one point per
kilometer, i.e. the calculated distance in kilometers will be truncated to an integer value and 1 km
will be added. " (excerpt from VHF_Handbook_V9.01)
@magicbug magicbug changed the base branch from master to dev May 22, 2023 21:09
@magicbug
Copy link
Owner

Rebased to the dev branch, I've no issue with this change I've a feeling this function appears in other places in cloudlog, so might need to check

@magicbug
Copy link
Owner

Did a code search and cant find the function anywhere else so ok for merge

@magicbug magicbug merged commit b048671 into magicbug:dev May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants