Skip to content
Website page opens in new windowYouTube page opens in new window
Code in Xcode
How to start coding in Swift with Xcode
Code in XcodeCode in Xcode
  • How to STARTLearn
  • App DevAlternatives
  • Swift
  • Xcode
  • Objective-C
  • AllPost
  • About
  • Contact
  • EditorBlog
  • How to STARTLearn
  • App DevAlternatives
  • Swift
  • Xcode
  • Objective-C
  • AllPost
  • About
  • Contact
  • EditorBlog

Monthly Archives: février 2015

You are here:
  1. Home
  2. 2015
  3. février

How to convert a string with comma to a string with decimal in Swift

All, iOS, SwiftBy Jean-François Dion05/02/2015

Swift Code work’s fine with a dot (.) decimal. The problem is when your using a comma (,) in your variables.   Origin of the problem: Usually, the origin of the problem is from the Decimal Keyboard that use a comma (,) instead of a dot (.) Like the French Decimal Keyboard The result: The reality is that you are loosing every…

How to make negative numbers into positive

All, How to ..., iOS, macOS, Objective-C, Swift, XcodeBy Jean-François Dion02/02/2015

If you want to force a number to change or keep it positive.   Here is the way: abs() for int fabs() for double fabsf() for float   If you want more info, you can look here: http://stackoverflow.com/  

Code in Xcode
CodeInXcode © 2017-24

Code in Xcode with Swift in my day to day
Problems :-(
with Solutions :-)

Go to Top