Actress Danica McKellar is not just a pretty face, she's also a math wiz, and she's coming out with her fourth math book this year.

The Wonder Years actress is making headlines this week thanks to an impending divorce from her husband of three years, composer Mike Verta. McKellar recently posted her thanks to fans who have shown support during her divorce announcement on her website. She wrote that her relationship with Verta has been nothing but amicable and that the two are totally in love with their son, one-year-old Draco.

McKellar has kept up with acting over the years. She currently provides the voice of Miss Martian on Cartoon Network's Young Justice, and her TV cameos include The Big Bang Theory and How I Met Your Mother.

But what you may not know about McKellar is that she's also a celebrated child education author. She graduated from UCLA with a bachelor's degree in mathematics and has written three books on the subject aimed at young girls.

Her first book, Math Doesn't Suck: How to Survive Middle School Math Without Losing Your Mind or Breaking a Nail, was published in 2007 and is aimed at girls ages 9 through 12, according to her website. Her second book, Kiss My Math: Showing Pre-Algebra Who's Boss, is for girls ages 11 through 13. Her third book, Hot X: Algebra Exposed!, is aimed at the 13 and older crowd.

Her fourth math book, Girls Get Curves: Geometry Takes Shape, is scheduled for release on Aug.2, just in time for back-to-school season (don't worry kids, that's still a long way off).

McKellar was dubbed an ABC Person of the Week in Aug. 2007 after her first book was published. She cited an epidemic of girls dumbing themselves down and said it possibly had to do with what young women see in the media.

Unfortunately, girls think that being glamorous means making mistakes and being irresponsible, McKellar told ABC. And that's just not true. The smarter you are, the better prepared you are to make decisions in your life, the more likely you are to lead a satisfying life and be glamorous and fun and anything you want to be.

READ ALSO: Jane Austen Fan Amy Elizabeth Smith Takes Famous Author To Latin America In 'All Roads Lead To Austen'