Hi everyone,

I want to convert from decimal degrees to degree minutes seconds in canvas (e.g. 90.1->90° 6' 0"). Has anyone done this before? Could you show me how to do this in Canvas please?

Thanks

Viet

Hi everyone,

I want to convert from decimal degrees to degree minutes seconds in canvas (e.g. 90.1->90° 6' 0"). Has anyone done this before? Could you show me how to do this in Canvas please?

Thanks

Viet

- 1 person found this helpful
Canvas does not have the functionality to convert from decimal degrees to DMS. You will need to use another program or a calculator to convert it.

Thanks James for the answer. I have come up with the way in Canvas like this

d = floor(dd)

m = floor((dd - d) * 60)

s = round((dd - d - m/60) * 3600)

**dms=(d+m/100+s/10000)****dms is displayed with format (ddd.mmss)**- 1 person found this helpful
I'm glad you figured it out.

I almost mentioned formula questions, but there is still no way to do it correctly and nothing else in Canvas supports conversions, so ultimately it cannot be done correctly. We often have to hack Canvas is math and sciences to get what we want, so if you're willing to accept the non-standard formatting, then be sure to let your students know how they should enter it and that they should not enter the °, ', or " symbols.

It looks like a decimal degree notation without the °, ', and " and this may be confusing to them.

Another way to ask the question, without sacrificing the notation, is to ask "What is the minutes component when [dd] is converted to degrees-minutes-seconds notation?" You could then use a couple of those in a question group, some asking for degrees, some for minutes, and some for seconds.

Also note that generating formula questions is broken right now

*when you specify a tolerance*. In your case, you won't be specifying a tolerance, but I wanted you to be aware of it in case you have other kinds of questions.

Viet

Canvas does not have the functionality to convert from decimal degrees to DMS. You will need to use another program or a calculator to convert it.