Log in

View Full Version : BB Code Enhancements - BBCode - Math - Fraction - Divide


orange gold
12-23-2010, 10:00 PM
I wrote up quick code to make a fraciton look more... real? Instead of this: 1/10 you would have this: (see screenshot below)

Here is the BB Code info...

Admin CP:
BBCode:
New:

Title:

Fraction


BB Code Tag Name:

frc


Replacement:

<sup>{option}</sup>&frasl;<sub>{param}</sub>


Example:

10


Description:

Puts a number, a, over a number, b. (a/b)


Use {option}:

Yes.


Let me know what you think! I hope you enjoy this!