I\'m trying to define the height of a capsule in SwiftUI from a structure da that transforms String into double and does some calculation over it,
String
double