How do I place redstone with a command block?

I am playing Minecraft on the Nintendo Switch and I am trying to place redstone with a command block and I keep getting this message.

Command:

/setblock 716 14.5 -247 Redstone 

Error message:

Syntax error: unexpected "Redstone":" at 14.5-247 >> Redstone <<" 

Solution 1:

Here are the problems with your command:

  • Redstone is not a valid block ID. The correct ID is redstone_wire.
  • Decimals don't matter in your command. Using /setblock 716 14.5 -247 redstone_wire is the same as writing /setblock 716 14 -247 redstone. The command rounds your number down.