0

Hello I'm trying to make a simple app.I have a value in minute that I want to display in a label in HH(Hours) format, I have JSON dictionary, i want to get in this minute values inside JSON dictionary. so how to convert it minute to hours formate .

shallowThought
  • 19,212
  • 9
  • 65
  • 112
mike kumawat
  • 165
  • 1
  • 2
  • 8
  • Where is your code? – Raptor May 19 '17 at 09:27
  • if let con = country["charge_per_min"] as? Int { print("++++++ \(con ) ++++") self.chargperMin.append(con) print(self.chargperMin) } charge_per_min my json paramiter..what can i do now..? – mike kumawat May 19 '17 at 10:01
  • http://stackoverflow.com/questions/44067949/how-to-convert-min-to-hours-in-swift3 please check my new question i have implenebt this question. thanks – mike kumawat May 19 '17 at 10:46
  • http://stackoverflow.com/questions/44067949/how-to-convert-min-to-hours-in-swift3 pls check - Raptor – mike kumawat May 19 '17 at 11:07

0 Answers0