Chuyển đổi độ phút giây (góc) sang giá trị dùng để tính toán trong Excel

Chuyển từ 10.46 sang độ phút giây:

A1 = 10.46

Sử dụng hàm Convert_Degree trong VBA như sau:
=Convert_Degree(A1)
Kết quả là: 10°27’36”

View the code on Gist.

Chuyển ngược lại:

Sử dụng function viết bởi VBA như sau:

=Convert_Decimal(“10° 27′ 36″””)

Kết quả: 10.46

View the code on Gist.

Click đăng ký học tại:

Tất cả khoá học 📖

Hướng dẫn kích hoạt

HKD Học Excel Online
Số ĐK: 17A80048102

© document.currentScript.insertAdjacentHTML(‘afterend’, ” + new Intl.DateTimeFormat(document.documentElement.lang, {year: ‘numeric’}).format() + ”); Học Excel Online. All rights reserved.

Author photo
Publication date:
Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *