MCPcopy Index your code
hub / github.com/benfry/processing4 / setFloat

Method setFloat

core/src/processing/data/XML.java:893–895  ·  view source on GitHub ↗

Sets the content of an element's attribute as a float . A String specifies the attribute name, while the float specifies the new content. @webref xml:method @webBrief Sets the content of an attribute as a float

(String name, float value)

Source from the content-addressed store, hash-verified

891 * @webBrief Sets the content of an attribute as a <b>float</b>
892 */
893 public void setFloat(String name, float value) {
894 setString(name, String.valueOf(value));
895 }
896
897
898 public double getDouble(String name) {

Callers

nothing calls this directly

Calls 1

setStringMethod · 0.95

Tested by

no test coverage detected