Error : The method parseFloat(in) in the type PApplet is not applicable for the arguments (float)
in
Contributed Library Questions
•
2 years ago
Hi,
I'm using controlP5 controlUI. In controlEvent, as you see, I want to use a float BuildW but, I get an error message;
The method parseFloat(in) in the type PApplet is not applicable for the arguments (float)
What should I do?
Thanks...
I'm using controlP5 controlUI. In controlEvent, as you see, I want to use a float BuildW but, I get an error message;
The method parseFloat(in) in the type PApplet is not applicable for the arguments (float)
What should I do?
- // Event handler
void controlEvent(ControlEvent theEvent) {
switch(theEvent.controller().id()) {
case 1:
{
BuildW = float (theEvent.controller().value());
break;
}
Thanks...
1