# Avoid issue while using DMSList function?

**URL:** <https://community.wolfram.com/t/avoid-issue-while-using-dmslist-function/13099>\
**Category:** Questions\
**Tags:** mathematica, units\
**Created:** [September 17, 2018, 9:35am UTC](https://community.wolfram.com/t/avoid-issue-while-using-dmslist-function/13099 "2018-09-17T09:35:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![htanaungmin](https://avatars.discourse-cdn.com/v4/letter/h/e47c2d/32.png) [@htanaungmin](https://community.wolfram.com/u/htanaungmin)\
**Post date:** [September 17, 2018, 9:35am UTC](https://community.wolfram.com/t/avoid-issue-while-using-dmslist-function/13099/1 "2018-09-17T09:35:33Z")

</div>

DMSList[20.365]  
The above code should have returned the list of degree, minutes and seconds. But only the following code returned the required results of {20, 21, 54.}.  
DMSList[{20.365,0,0}]
