Documentation

Una is developed by Una Technologies Limited

All rights reserved

© 2022 Una Technologies Limited

Print

Displaying the Numerical Value

Print Number

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"basic_consoleLogNum\" disabled=\"true\" x=\"23\" y=\"292\"><value name=\"num\"><shadow type=\"math_number\" disabled=\"true\"><field name=\"NUM\">0</field></shadow></value></block></xml>"}
				
			

This block is used to output number value.

Parameters: Condition: Number (Default: 0)

Output: Number
Sample code:

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"pxt-on-start\" x=\"0\" y=\"0\"><statement name=\"HANDLER\"><block type=\"basic_consoleLogNum\"><value name=\"num\"><shadow type=\"math_number\"><field name=\"NUM\">123</field></shadow></value></block></statement></block></xml>"}
				
			

The output:

Previous Breaking Off a Few Second
Next Displaying Text