Posts by Raphael Freschi • 1 point
3 posts
-
0
votes1
answer30
viewsA: Correction of graphic counter
Oops, try to take the value and multiply it according to the string. Would look this way: function getVal (val) { multiplier = val.substr(-1).toLowerCase(); if (multiplier == "k") return…
-
-1
votes2
answers1102
viewsA: fatal error: unexpectedly found nil while unwrapping an Optional value
Try it that way. @IBOutlet weak var Batimentos: UILabel! if let actualBpm = bpm{ print(actualBpm) Batimentos.text! = "\(actualBpm!)" }else { print("ELSE bpm") }…
-
-1
votes2
answers120
viewsA: How to perform an "IF" by SQL
Opa Mrvandaime, try to do the following, INSERT INTO SUA_TABELA (dt_ini) VALUES WORTH WHERE DT_INI IS NULL; OR INSERT INTO SUA_TABELA (dt_ini) VALUES WORTH WHERE DT_INI = "";…